Package-level declarations

Contains main classes to use Bluedot SDK as ServiceManager, GeoTriggerService and TempoService classes

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class AppState(val locationPermission: LocationPermission, val notificationPermission: NotificationPermission, val batteryLevel: Int, val lastRuleUpdate: Instant?, val viewState: ViewState, val foregroundServiceEnabled: Boolean) : Parcelable

AppState stores the state of the Application when the event(Entry/Exit) was triggered by the SDK

Link copied to clipboard
abstract class BDError : Parcelable
Link copied to clipboard

A receiver for Bluedot SDK service events.

Link copied to clipboard
data class FenceInfo(val id: String?, val name: String?, val applicationId: String?, val geometry: Geometry?, val description: String?) : Parcelable

FenceInfo contains details of each fence created inside a zone

Link copied to clipboard

A receiver for GeoTriggering events.

Link copied to clipboard

GeoTriggeringService class is used to use GeoTriggering feature from bluedot SDK which includes reporting zone entry and exit events

Link copied to clipboard

Provides callbacks on ServiceManager.initialize

Link copied to clipboard
data class LocationInfo(val latitude: Double, val longitude: Double, speed: Float, bearing: Float, val timeStamp: Long) : Parcelable
Link copied to clipboard
interface PushEngine : LifecycleObserver

Interface contract for PushEngine. Concrete implementation is provided by the pushnotifications module.

Link copied to clipboard

Service provider interface for push notifications module. Implementations of this interface are discovered at runtime using ServiceLoader.

Link copied to clipboard
Link copied to clipboard
fun interface ResetResultReceiver

Provides callbacks on ServiceManager.reset

Link copied to clipboard

Service manager is used to interact with Bluedot Point Service

Link copied to clipboard

TempoService class is used to use Tempo feature from bluedot SDK which includes reporting tempo update and tempo stop events on a defined interval

Link copied to clipboard

Provides callbacks on TempoService.start

Link copied to clipboard

A receiver for Tempo events.

Link copied to clipboard
Link copied to clipboard
class ZoneInfo(val zoneId: String?, val zoneName: String?, val isCheckOut: Boolean?, val destination: Destination? = null, fences: HashSet<FenceInfo> = HashSet(), enabled: Boolean = true, customData: Map<String, String>? = null, val description: String? = null) : Parcelable

ZoneInfo stores zone details for every zone downloaded by SDK from Rule Download.